package com.tansuo365.test1.service.otherservice.impl;

import com.tansuo365.test1.bean.otherbean.DKufang;
import com.tansuo365.test1.mapper.othermapper.DKufangMapper;
import com.tansuo365.test1.service.otherservice.DKufangService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DKufangServiceImpl implements DKufangService {
    @Resource
    private DKufangMapper dKufangMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return dKufangMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int deleteBatchByPKArr(Integer[] ids) {
        return dKufangMapper.deleteBatchByPKArr(ids);
    }

    @Override
    public int deleteBatchByWidArr(Integer[] ids) {
        return dKufangMapper.deleteBatchByWidArr(ids);
    }

    @Override
    public int deleteByWid(int w_id) {
        return dKufangMapper.deleteByWid(w_id);
    }

    @Override
    public int insert(DKufang dKufang) {
        return dKufangMapper.insert(dKufang);
    }

    @Override
    public int insertSelective(DKufang dKufang) {
        return dKufangMapper.insertSelective(dKufang);
    }

    @Override
    public DKufang selectByPrimaryKey(Integer id) {
        return dKufangMapper.selectByPrimaryKey(id);
    }

    @Override
    public List<DKufang> findByWaiId(int w_id) {
        return dKufangMapper.findByWaiId(w_id);
    }

    @Override
    public List<DKufang> findSelective(DKufang dKufang) {
        return dKufangMapper.findSelective(dKufang);
    }

    @Override
    public int updateByPrimaryKeySelective(DKufang dKufang) {
        return dKufangMapper.updateByPrimaryKeySelective(dKufang);
    }

    @Override
    public int updateByPrimaryKey(DKufang dKufang) {
        return dKufangMapper.updateByPrimaryKey(dKufang);
    }
}
